<template>
	<view class="box">
		<view class="title">
			<view class="text">
				积分规则
			</view>
			<view class="gun"></view>
		</view>
		<view style="margin-top: 30rpx;" v-html="textimg"></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				textimg:'',
			};
		},
		onLoad() {
			this.getinfo()
		},
		methods:{
			getinfo(){
				this.$http({
					url:'/api/wechat/scoreNote',
				}).then(res=>{
					this.textimg = this.$replace_Rich_text(res.data)
				})
			},
		}
	}
</script>

<style lang="scss" scoped>
	.box {
		width: 690rpx;
		// min-height: 670rpx;
		background: #FFFFFF;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		margin: 0 auto;
		padding: 40rpx 30rpx 100rpx 30rpx;
		box-sizing: border-box;

		.title {
			font-size: 36rpx;
			font-family: PingFang SC-Bold, PingFang SC;
			font-weight: bold;
			color: #CB9852;
			display: inline-block;
			position: relative;
			text-align: center;
			left: 50%;
			transform: translateX(-50%);
			
			.text{
				z-index: 10;
				position: relative;
			}
			.gun {
				position: absolute;
				z-index: 1;
				bottom: 0;
				width: 100%;
				height: 14rpx;
				background: #FFF4F6;
			}
		}


	}
</style>
